<?php
<object class="DriveCreate" name="DriveCreate" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">DriveCreate</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Font">
    <property name="Color">#FFFFFF</property>
  </property>
  <property name="Height">550</property>
  <property name="IsMaster">0</property>
  <property name="Name">DriveCreate</property>
  <property name="Width">1079</property>
  <property name="OnCreate">DriveCreateCreate</property>
  <object class="JTGroupBox" name="JTGroupBox2" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Caption">Cost</property>
    <property name="Height">48</property>
    <property name="Left">235</property>
    <property name="Name">JTGroupBox2</property>
    <property name="SiteTheme"></property>
    <property name="Top">443</property>
    <property name="Visible">0</property>
    <property name="Width">532</property>
  </object>
  <object class="Image" name="Image1" >
    <property name="Border">0</property>
    <property name="Height">31</property>
    <property name="ImageSource">image/create_incident.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image1</property>
    <property name="Top">24</property>
    <property name="Width">991</property>
  </object>
  <object class="Label" name="lblBirthdate" >
    <property name="Caption">Incident Date:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Layer">Employment</property>
    <property name="Left">28</property>
    <property name="Name">lblBirthdate</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">105</property>
    <property name="Width">84</property>
  </object>
  <object class="Label" name="lblJob" >
    <property name="Caption">Incident Type:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Layer">Employment</property>
    <property name="Left">272</property>
    <property name="Name">lblJob</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">105</property>
    <property name="Width">84</property>
  </object>
  <object class="ComboBox" name="cmbType" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Layer"></property>
    <property name="Left">355</property>
    <property name="Name">cmbType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">102</property>
    <property name="Width">212</property>
  </object>
  <object class="Label" name="lblMobile" >
    <property name="Caption">Description:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Layer">General</property>
    <property name="Left">43</property>
    <property name="Name">lblMobile</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">166</property>
    <property name="Width">69</property>
  </object>
  <object class="CheckBox" name="chkatfault" >
    <property name="Caption">At-Fault</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">739</property>
    <property name="Name">chkatfault</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">97</property>
    <property name="Visible">0</property>
    <property name="Width">65</property>
  </object>
  <object class="CheckBox" name="chkpersonalinjury" >
    <property name="Caption">Personal Injury</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">739</property>
    <property name="Name">chkpersonalinjury</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">129</property>
    <property name="Visible">0</property>
    <property name="Width">107</property>
  </object>
  <object class="Edit" name="edPtAssessed" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Layer">General</property>
    <property name="Left">819</property>
    <property name="Name">edPtAssessed</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">90</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">Point Assessed:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Layer">General</property>
    <property name="Left">647</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">97</property>
    <property name="Visible">0</property>
    <property name="Width">90</property>
  </object>
  <object class="Edit" name="edCompLiability" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Layer">General</property>
    <property name="Left">625</property>
    <property name="Name">edCompLiability</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">138</property>
    <property name="Visible">0</property>
    <property name="Width">110</property>
  </object>
  <object class="Label" name="Label2" >
    <property name="Caption">Cost:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">15</property>
    <property name="Layer">General</property>
    <property name="Left">593</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">141</property>
    <property name="Visible">0</property>
    <property name="Width">30</property>
  </object>
  <object class="Edit" name="edRefNum" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Layer">General</property>
    <property name="Left">819</property>
    <property name="Name">edRefNum</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">70</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="Label" name="Label3" >
    <property name="Caption">Reference No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Layer">General</property>
    <property name="Left">647</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">117</property>
    <property name="Visible">0</property>
    <property name="Width">81</property>
  </object>
  <object class="Memo" name="memoComments" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">18</property>
    <property name="Left">701</property>
    <property name="Lines">a:0:{}</property>
    <property name="Name">memoComments</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">164</property>
    <property name="Visible">0</property>
    <property name="Width">36</property>
  </object>
  <object class="Label" name="Label4" >
    <property name="Caption">Comments:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Layer">General</property>
    <property name="Left">629</property>
    <property name="Name">Label4</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">165</property>
    <property name="Visible">0</property>
    <property name="Width">69</property>
  </object>
  <object class="HiddenField" name="hiddenEmpId" >
    <property name="Height">18</property>
    <property name="Left">577</property>
    <property name="Name">hiddenEmpId</property>
    <property name="Top">5</property>
    <property name="Width">200</property>
  </object>
  <object class="DateTimePicker" name="dpDate" >
    <property name="Caption">dpDate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">115</property>
    <property name="Name">dpDate</property>
    <property name="ParentFont">0</property>
    <property name="ShowsTime">0</property>
    <property name="Top">103</property>
    <property name="Width">151</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code"><![CDATA[function AjaxType2(ty,compid)
{ 
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxType('drivetypeajax.php','cmbType',compid);
  AjaxType('drivetypeajax.php','listType',compid);

  }
  }
  var url='adddrivetypeajax.php';
  url=url+&quot;?val=&quot;+ty;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}
]]></property>
    <property name="Height">20</property>
    <property name="Left">634</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Top">110</property>
    <property name="Width">180</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function AjaxType(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">634</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Top">131</property>
    <property name="Width">180</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript3" >
    <property name="Code"><![CDATA[function AjaxType3(ty,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxType('drivetypeajax.php','cmbType',compid);
  AjaxType('drivetypeajax.php','listType',compid);
  }
  }
  var url='deldrivetypeajax.php';
  url=url+&quot;?val=&quot;+ty;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">634</property>
    <property name="Name">JTJavaScript3</property>
    <property name="Top">155</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">580</property>
    <property name="Name">compid</property>
    <property name="Top">46</property>
    <property name="Width">200</property>
  </object>
  <object class="JTDivWindow" name="JTDivType" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Incident Type</property>
    <property name="Height">251</property>
    <property name="Left">629</property>
    <property name="Name">JTDivType</property>
    <property name="Position">poBrowserCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">190</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox1" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox1</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listType" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edType" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelType" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">171</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelTypeJSClick</property>
      </object>
      <object class="Button" name="btnAddType" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddType</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddTypeJSClick</property>
      </object>
    </object>
  </object>
  <object class="Button" name="btnShowType" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add type</property>
    <property name="Left">567</property>
    <property name="Name">btnShowType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">3</property>
    <property name="Top">102</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowTypeJSClick</property>
  </object>
  <object class="Button" name="btnSubmit" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Submit</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">43</property>
    <property name="Name">btnSubmit</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">7</property>
    <property name="Top">454</property>
    <property name="Width">75</property>
    <property name="OnClick">btnSubmitClick</property>
  </object>
  <object class="Button" name="btnCancel" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">129</property>
    <property name="Name">btnCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">8</property>
    <property name="Top">454</property>
    <property name="Width">75</property>
    <property name="OnClick">btnCancelClick</property>
  </object>
  <object class="Image" name="imgBack" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Cursor">crPointer</property>
    <property name="Height">45</property>
    <property name="ImageSource">image/btn_back.png</property>
    <property name="Left">1024</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">imgBack</property>
    <property name="Width">45</property>
    <property name="jsOnMouseOut">imgBackJSMouseOut</property>
    <property name="jsOnMouseOver">imgBackJSMouseOver</property>
  </object>
  <object class="Edit" name="edIncidentNum" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Layer">General</property>
    <property name="Left">115</property>
    <property name="Name">edIncidentNum</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">70</property>
    <property name="Width">151</property>
  </object>
  <object class="Label" name="Label5" >
    <property name="Caption">Incident No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Layer">General</property>
    <property name="Left">39</property>
    <property name="Name">Label5</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">74</property>
    <property name="Width">69</property>
  </object>
  <object class="Label" name="Label6" >
    <property name="Caption">Driver:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">70</property>
    <property name="Name">Label6</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">138</property>
    <property name="Width">35</property>
  </object>
  <object class="ComboBox" name="cmbdriver" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">115</property>
    <property name="Name">cmbdriver</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">134</property>
    <property name="Width">452</property>
  </object>
  <object class="Memo" name="memoDesc" >
    <property name="Color">#000000</property>
    <property name="Height">73</property>
    <property name="Left">115</property>
    <property name="Lines">a:0:{}</property>
    <property name="Name">memoDesc</property>
    <property name="ParentColor">0</property>
    <property name="TabOrder">5</property>
    <property name="Top">166</property>
    <property name="Width">452</property>
  </object>
  <object class="JTIFrame" name="JTIFrameCost" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Height">150</property>
    <property name="Left">43</property>
    <property name="Name">JTIFrameCost</property>
    <property name="SiteTheme"></property>
    <property name="Top">288</property>
    <property name="Width">524</property>
  </object>
  <object class="HiddenField" name="hfVeh" >
    <property name="Height">18</property>
    <property name="Left">577</property>
    <property name="Name">hfVeh</property>
    <property name="Top">24</property>
    <property name="Width">200</property>
  </object>
  <object class="Edit" name="edAmt" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Layer">General</property>
    <property name="Left">576</property>
    <property name="Name">edAmt</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">461</property>
    <property name="Visible">0</property>
    <property name="Width">107</property>
  </object>
  <object class="Label" name="Label9" >
    <property name="Caption">Amount:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Layer">General</property>
    <property name="Left">526</property>
    <property name="Name">Label9</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">463</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="Label" name="Label8" >
    <property name="Caption">Description:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">17</property>
    <property name="Layer">General</property>
    <property name="Left">241</property>
    <property name="Name">Label8</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">463</property>
    <property name="Visible">0</property>
    <property name="Width">69</property>
  </object>
  <object class="Edit" name="edDesc" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Layer">General</property>
    <property name="Left">307</property>
    <property name="Name">edDesc</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">461</property>
    <property name="Visible">0</property>
    <property name="Width">205</property>
  </object>
  <object class="Button" name="btnAdd" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Add</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">693</property>
    <property name="Name">btnAdd</property>
    <property name="ParentColor">0</property>
    <property name="Top">461</property>
    <property name="Visible">0</property>
    <property name="Width">60</property>
    <property name="OnClick">btnAddClick</property>
  </object>
  <object class="JTJavaScript" name="JSValidate" >
    <property name="Code"><![CDATA[function validateRequire(editBox, lblError)
{
 editValue = document.getElementById(editBox).value;
 //error = Number(document.getElementById('hfValidateError').value);
 if(editValue.length==0)
 {
  //alert('error');
  lblValue = document.getElementById(lblError).innerHTML = '&amp;darr This field is required &amp;darr';
  //alert(document.getElementById('hfValidateError').value); 
  //document.getElementById('hfValidateError').value = error + Number('1');
  //alert(document.getElementById('hfValidateError').value);
  //alert('error end');
 }
 else
 {
  lblValue = document.getElementById(lblError).innerHTML = '';
 }
}]]></property>
    <property name="Height">20</property>
    <property name="Left">315</property>
    <property name="Name">JSValidate</property>
    <property name="Top">5</property>
    <property name="Width">180</property>
  </object>
  <object class="Image" name="Image3" >
    <property name="Border">0</property>
    <property name="Height">10</property>
    <property name="ImageSource">image/divider.png</property>
    <property name="Left">43</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image3</property>
    <property name="Top">277</property>
    <property name="Width">524</property>
  </object>
  <object class="Label" name="Label14" >
    <property name="Caption">Details</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#C0C0C0</property>
        <property name="Size">14</property>
        <property name="Weight">bold</property>
    </property>
    <property name="Height">16</property>
    <property name="Left">43</property>
    <property name="Name">Label14</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">257</property>
    <property name="Width">106</property>
  </object>
  <object class="Button" name="btnAddG" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Add</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">20</property>
    <property name="Hint">Add Garage</property>
    <property name="Left">502</property>
    <property name="Name">btnAddG</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">6</property>
    <property name="Top">255</property>
    <property name="Width">65</property>
    <property name="jsOnClick">btnAddGJSClick</property>
  </object>
  <object class="HiddenField" name="hfincident" >
    <property name="Height">18</property>
    <property name="Left">383</property>
    <property name="Name">hfincident</property>
    <property name="Top">64</property>
    <property name="Width">112</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">754</property>
        <property name="Top">41</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
